package com.keepercloud.qqchat;

import com.keepercloud.qqchat.framework.common.utils.SpringContextUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

/**
 *
 * @author liyk
 * @date 2019/2/2
 */
@SpringBootApplication
// 开启切面
@EnableAspectJAutoProxy
// 开启事务回滚
@EnableTransactionManagement
// 开启@WebListener
@ServletComponentScan
public class ChatApplication {

	public static void main(String[] args) {
		SpringApplication.run(ChatApplication.class, args);
	}

}
